/*
 *  ReferenceManager.h
 *  ReferenceManager
 *
 *  Created by Hamza SHAWY on 20/10/07.
 *  Copyright 2007 __MyCompanyName__. All rights reserved.
 *
 */
#include "Reference.h"

class ReferenceManager
{
	public:
		ReferenceManager();
		ReferenceManager(int);
		~ReferenceManager();
		int size();
		int get(int pos);
		bool add(Reference& ref);
		bool remove(int pos);
		bool search(int id);
		void printIds();
		
	private:
		Reference* RefList;
		int Capacity; //the maximum number of referencences the list can contain
		int Size; //how many references the list contains
};

	